#!/bin/bash

set -o pipefail
set -o errexit
set -o errtrace

export LC_ALL=C

ANNOTATE_DIR=$1
BASE_ANN_DIR=$ANNOTATE_DIR/../

export BASE_DATE=$(head -n1 ${BASE_ANN_DIR}/base_date.txt)
export BASE_DATA_PATH=/home/mixagol/data

source 6_annotation/annotate_common.sh

Z_VALUE=5

E_DIR=$ANNOTATE_DIR/e_$Z_VALUE

create_gene_pathways_all                $E_DIR    "1e-6"


